package com.yl.pattern.creatormodel.factory.config_factory;

import java.util.ArrayList;
import java.util.Iterator;

/**
 * @Author 小羊
 * @Date 29/10/2024下午 9:42
 * @ClassName Config
 * @Description Config
 */
public class Config {
    public static void main(String[] args) {
        Coffee coffee = CoffeeFactory.createCoffee("american");
        System.out.println(coffee.getName());

        Iterator<Object> iterator = new ArrayList<>().iterator();
    }
}
